<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Form</title>
</head>
<body>
<div>

    <p th:text="'目录：'+${path}" th:if="${path!=null}"></p>
    <p th:text="'目标文件：'+${outPath}" th:if="${outPath!=null}"></p>

    <a th:href="@{/}">返回</a>

    <form action="/file/copy-to-file">
     目录：   <input type="text" name="path" th:value="${path}" width="100"><br>
      目标文件：  <input type="text" name="outPath" th:value="${outPath}" width="100"><br>
        <input type="submit" value="submit">
    </form>

</div>
</body>
</html>